package com.kimoge.spring6.validation.methodfour;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author kimoge
 * @date 2025/8/30
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @MyNotBlank
    private String name;

    private int age;
}
